package com.yf.exam.modules.tmpl.dto;

import com.yf.base.api.annon.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
* <p>
* 大题组卷规则数据传输类
* </p>
*
* @author 聪明笨狗
* @since 2021-04-25 13:59
*/
@Data
@ApiModel(value="大题组卷规则", description="大题组卷规则")
public class TmplGroupRuleDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "分组ID")
    private String groupId;

    @Dict(dicText = "title", dictTable = "el_repo", dicCode = "id")
    @ApiModelProperty(value = "题库ID")
    private String repoId;
    private String repoId_dictText;

    @Dict(dicText = "title", dictTable = "el_repo_chapter", dicCode = "id")
    @ApiModelProperty(value = "章节")
    private String chapterId;
    private String chapterId_dictText;

    @Dict(dicCode = "qu_level")
    @ApiModelProperty(value = "难度")
    private String level;
    private String level_dictText;

    @ApiModelProperty(value = "试题类型")
    private String quType;

    @ApiModelProperty(value = "试题数量")
    private Integer num;

}
